function setRem() {
    const screenWidth = 375;
    const scale = screenWidth / 16
    const htmlWidth = document.documentElement.clientWidth
    const htmlDom = document.getElementsByTagName('html')[0]
    htmlDom.style.fontSize = htmlWidth / scale + 'px'
}
setRem()

window.onresize = function(){
    setRem()
}
